package com.gitee.swsk33.relationmapping.dao;

import com.gitee.swsk33.relationmapping.dataobject.Weapon;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WeaponDAO {

	/**
	 * 根据id获取
	 */
	Weapon getById(int id);

	/**
	 * 根据使用武器的角色id查询
	 */
	List<Weapon> getByFigureId(int figureId);

}